package cn.easier.activity;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

import com.alibaba.fastjson.parser.ParserConfig;

@SpringBootApplication
@EnableScheduling
@EnableTransactionManagement
@EnableCaching
@EnableAsync
public class ApplicationMain {
    public static void main(String[] args) {
    	ParserConfig.getGlobalInstance().setSafeMode(true);
        SpringApplication.run(ApplicationMain.class, args);
    }
}
